package com.cqust.wdm.emsboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cqust.wdm.emsboot.domain.Role;
import com.cqust.wdm.emsboot.domain.User;

import java.util.List;


public interface UserMapper extends BaseMapper<User> {
    User loadUserByUsername(String username);

    List<Role> getUserRolesByUid(Integer id);

    List<User> selectUserList(User user);
}
